import { BasePagesResponseData } from "@renderer/interface/baseData";
import { ChannelItem, SearchChannel } from "@renderer/interface/media";
import http from "@renderer/utils/request";

/**
 * 
 * @param form 渠道搜索表单
 * @returns 
 */
export const getChannelPageApi = (form?: SearchChannel) =>
	http.get<BasePagesResponseData<ChannelItem>>('/crm/media/channel/page', form)